package ui;

import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.WindowConstants;


@SuppressWarnings("serial")
public class ErrorReportView extends JFrame {
	private JLabel jLabelErrorMessage;
	private String errorValue;
	{
		//Set Look & Feel
		try {
			javax.swing.UIManager.setLookAndFeel(javax.swing.UIManager.getSystemLookAndFeelClassName());
		} catch(Exception e) {
			e.printStackTrace();
		}
	}
	public ErrorReportView(String value) {
		super();
		errorValue = value;
		initGUI();
		
	}
	private void initGUI() {
		setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE);
		getContentPane().setLayout(null);
		{
			jLabelErrorMessage = new JLabel();
			getContentPane().add(jLabelErrorMessage);
			jLabelErrorMessage.setBounds(12, 63, 337, 27);
			jLabelErrorMessage.setText(errorValue);
		}
		this.setSize(375, 195);

	}
	
}
